{include file="public/layout" /}
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 
	<span class="c-gray en">&gt;</span> 用户中心 
	<span class="c-gray en">&gt;</span> 用户管理 
	<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
</nav>
<div class="page-container">
	<div class="cl pd-5 bg-1 bk-gray mt-20">
		<span class="l"><a class="back" href="javascript:history.back();" title="返回列表"><img src="/public/h-ui.admin/images/back.png" width="30" height="30"></a></span>
		<span class="r">共有数据：<strong>{$count}</strong> 条</span> 
	</div>
	<div class="mt-20">
	<table class="table table-border table-bordered table-hover table-bg table-sort">
		<thead>
			<tr class="text-c">
				<th width="80">ID</th>
				<th width="100">头像</th>
				<th width="80">昵称</th>
				<th width="120">用户等级</th>
				<th width="60">邀请人</th>
				<th width="100">邀请人数</th>
			</tr>
		</thead>
		<tbody>
			{foreach name="data" item="vo" key="k" }
			<tr class="text-c">
				<td>{$vo.user_id}</td>
				<td>
					{if $vo.head_ico}
						<img src="{$vo.head_ico}" style="width: 30px !important; height: 30px !important;">
					{else /}
						<img src="/public/static/images/head_ico.jpg" style="width: 30px !important; height: 30px !important;">
				    {/if}
				</td>
				<td>{$vo.username ? $vo.username : '--'}</td>
				<td>
					{switch $vo.user_level}
					    {case 1}黄金{/case}
					    {case 2}铂金{/case}
					    {default /}钻石
					{/switch}
				</td>
				<td>{$vo.invite_name ?  $vo.invite_name : '--'}</td>
				<td>{$vo.invite_number}</td>
			</tr>
		    {/foreach}
		</tbody>
	</table>
	<div>{$list->render()|raw}</div>
	</div>
</div>
{include file="public/footer" /}
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="/public/h-ui.admin/lib/My97DatePicker/4.8/WdatePicker.js"></script> 
<script type="text/javascript" src="/public/h-ui.admin/lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript">
/*用户-查看数据*/
function member_show(title,url,id,w,h){
	layer_show(title,url,w,h);
}
</script> 
</body>
</html>